# -*- coding: utf-8 -*-
from __future__ import absolute_import
from rest_framework.serializers import ModelSerializer
from wechat.models import Menu


class MenuSerializer(ModelSerializer):

    class Meta:
        model = Menu
        fields = ('id', 'name', 'member', 'mindex', 'parent_id', 'level')
